html, body {
    height: 100vh; /* 关键：确保基准容器高度 */
    width: 100vw;
    margin: 0;
    padding: 0;
}
body{
    font-family: "Arial Black";
    background-image: url("../images/2.jpg");
    background-repeat: no-repeat;
    overflow: hidden;
    background-size: cover;
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */

}

.container{
    background-color: rgba(0,0,0,0); /* 建议改为透明背景 */
    z-index: 1; /* 确保在背景之上 */

    width: 400px;
    margin: 7% auto;
    border-radius: 25px;
    /*background-color: rgba(0,0,0,0);*/
    box-shadow: 0 0 100px #333;
}
.header{
    text-align: center;
    padding-top: 50px;
    
}
.header h1 {
    color: #333;
    font-size: 45px;
    margin-bottom: 80px;
}
.main{
    text-align: center;
    padding-bottom: 65px;
}
.main input,button{
    width: 280px;
    height: 30px;
    border: none;
    /*边框消失*/
    outline: none;
    padding-left: 30px;
    margin-bottom: 30px;
    font-size: 15px;
    color: #333;

}
.main button{
    padding-left: 0;
    margin-left: 40px;
    /*width: 200px;*/
    background-color: #66afe9;
    letter-spacing: 1px;
    font-weight: bold;
    margin-bottom: 70px;

}
.main button:hover{
    box-shadow: 2px 2px 5px #555;
    background-color: #337ab7;
}
.main input:hover{
    box-shadow: 2px 2px 5px #5bc0de;
    background-color: #d4d4d4;
}
/*.main i{*/
/*    position: absolute;*/
/*    padding-left: 10px;*/
/*}*/